package com.misena.praxispraktik.controller;

import com.misena.praxispraktik.entity.Instructores;
import com.misena.praxispraktik.facade.InstructoresFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "instructoresController")
@ViewScoped
public class InstructoresController extends AbstractController<Instructores> implements Serializable {

    @EJB
    private InstructoresFacade ejbFacade;

    public InstructoresController() {
        super(Instructores.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
